using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using PietschSoft.VE;

public partial class Layer_VECollection : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        LayerSpecification l = new LayerSpecification();
        l.Type = LayerType.VECollection;
        l.Id = "1";
        l.LayerSource = "546E7E30AC2C5011!451";
        //l.IconUrl = "images/GeoRSS.gif";
        Map1.Layers.Add(l);
    }

    public void btnAttachCallback_Click(object sender, EventArgs e)
    {
        Map1.Layers[0].Callback = "VECollection_Feed_Load";
    }
}
